package com.huanshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 幻世
 * @since 2023-10-10
 */
@Getter
@Setter
  @TableName("ums_address")
@ApiModel(value = "UmsAddress对象", description = "")
public class UmsAddress implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("userId")
      private Long userId;

    private String userName;

    private String userPhone;

      @ApiModelProperty("省")
      private String provinceName;

      @ApiModelProperty("市")
      private String cityName;

      @ApiModelProperty("区")
      private String countyName;

      @ApiModelProperty("详细地址")
      private String detailAddress;

      @ApiModelProperty("是否是默认地址")
      private Boolean defaultFlag;

      @ApiModelProperty("现在选择的地址")
      private Boolean isFlag;


}
